#include "stdafx.h"
#include "BaseWriter.h"

const TCHAR CBaseWriter::eol[] = TEXT("\r\n");

bool CBaseWriter::WritePair(const TCHAR* key, const TCHAR* val, TCHAR delim)
{
  TCHAR sdelim[2] = { delim, 0 };
  return Write(key) && Write(sdelim) && WriteLine(val);
}
